

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>Examples &mdash; Playdoh v0.3.1 documentation</title>
    <link rel="stylesheet" href="_static/default.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '',
        VERSION:     '0.3.1',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <link rel="top" title="Playdoh v0.3.1 documentation" href="index.html" />
    <link rel="next" title="Example: map" href="examples-map.html" />
    <link rel="prev" title="Playdoh User Guide" href="playdoh.html" /> 
  </head>
  <body>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="examples-map.html" title="Example: map"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="playdoh.html" title="Playdoh User Guide"
             accesskey="P">previous</a> |</li>
        <li><a href="index.html">Playdoh v0.3.1 documentation</a> &raquo;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="examples">
<h1>Examples<a class="headerlink" href="#examples" title="Permalink to this headline">¶</a></h1>
<p>These examples cover some basic topics in using Playdoh.
The complete source code for the examples is available in the examples folder.</p>
<div class="toctree-wrapper compound">
<ul class="simple">
</ul>
</div>
<div class="section" id="independent-parallel-problems">
<span id="examples-independent"></span><h2>Independent parallel problems<a class="headerlink" href="#independent-parallel-problems" title="Permalink to this headline">¶</a></h2>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="examples-map.html">Example: map</a></li>
<li class="toctree-l1"><a class="reference internal" href="examples-map_async.html">Example: map_async</a></li>
<li class="toctree-l1"><a class="reference internal" href="examples-map_dependencies.html">Example: map_dependencies</a></li>
<li class="toctree-l1"><a class="reference internal" href="examples-map_lambda.html">Example: map_lambda</a></li>
<li class="toctree-l1"><a class="reference internal" href="examples-map_shared.html">Example: map_shared</a></li>
<li class="toctree-l1"><a class="reference internal" href="examples-gpu.html">Example: gpu</a></li>
</ul>
</div>
</div>
<div class="section" id="optimization">
<span id="examples-optimization"></span><h2>Optimization<a class="headerlink" href="#optimization" title="Permalink to this headline">¶</a></h2>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="examples-maximize.html">Example: maximize</a></li>
<li class="toctree-l1"><a class="reference internal" href="examples-maximize_matrix.html">Example: maximize_matrix</a></li>
<li class="toctree-l1"><a class="reference internal" href="examples-maximize_class.html">Example: maximize_class</a></li>
<li class="toctree-l1"><a class="reference internal" href="examples-maximize_groups.html">Example: maximize_groups</a></li>
</ul>
</div>
</div>
<div class="section" id="loosely-coupled-parallel-problems">
<span id="examples-loosely"></span><h2>Loosely coupled parallel problems<a class="headerlink" href="#loosely-coupled-parallel-problems" title="Permalink to this headline">¶</a></h2>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="examples-monte_carlo.html">Example: monte_carlo</a></li>
<li class="toctree-l1"><a class="reference internal" href="examples-heat_equation.html">Example: heat_equation</a></li>
</ul>
</div>
</div>
<div class="section" id="resource-allocation">
<span id="examples-allocation"></span><h2>Resource allocation<a class="headerlink" href="#resource-allocation" title="Permalink to this headline">¶</a></h2>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="examples-allocation.html">Example: allocation</a></li>
<li class="toctree-l1"><a class="reference internal" href="examples-resources.html">Example: resources</a></li>
</ul>
</div>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
            <p class="logo"><a href="index.html">
              <img class="logo" src="_static/logo.png" alt="Logo"/>
            </a></p>
  <h3><a href="index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">Examples</a><ul>
<li><a class="reference internal" href="#independent-parallel-problems">Independent parallel problems</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#optimization">Optimization</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#loosely-coupled-parallel-problems">Loosely coupled parallel problems</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#resource-allocation">Resource allocation</a><ul>
</ul>
</li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="playdoh.html"
                        title="previous chapter">Playdoh User Guide</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="examples-map.html"
                        title="next chapter">Example: map</a></p>
  <h3>This Page</h3>
  <ul class="this-page-menu">
    <li><a href="_sources/examples.txt"
           rel="nofollow">Show Source</a></li>
  </ul>
<div id="searchbox" style="display: none">
  <h3>Quick search</h3>
    <form class="search" action="search.html" method="get">
      <input type="text" name="q" size="18" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    Enter search terms or a module, class or function name.
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="examples-map.html" title="Example: map"
             >next</a> |</li>
        <li class="right" >
          <a href="playdoh.html" title="Playdoh User Guide"
             >previous</a> |</li>
        <li><a href="index.html">Playdoh v0.3.1 documentation</a> &raquo;</li> 
      </ul>
    </div>

    <div class="footer">
        &copy; Copyright 2011, Cyrille Rossant, Bertrand Fontaine, Dan Goodman.
      Last updated on Aug 17, 2011.
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.6.
    </div>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-6773961-3']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>

  </body>
</html>